package net.neptech.service.impl;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import lombok.extern.slf4j.Slf4j;
import net.neptech.model.workflow.WorkflowMain;
import net.neptech.service.WorkflowMainService;

import org.springframework.stereotype.Service;


/**
 * @Author Saya
 * @Date 2025/8/24 15:14
 * @Description TODO
 **/
@Service
@Slf4j
public class WorkflowMainServiceImpl extends ServiceImpl<BaseMapper<WorkflowMain>, WorkflowMain> implements WorkflowMainService {
    /**
     * 清理数据
     */
    public void clearProcess(String uniqueId) {
        this.lambdaUpdate().eq(WorkflowMain::getUniqueId, uniqueId).remove();
    }
}
